import { HttpStatus } from "@nestjs/common";

export interface IHttpErrorResponse {
  statusCode: HttpStatus;
  message: string;
  errors: IHttpError[];
}

export interface IHttpError {
  field: string;
  message: string;
  code: string;
}
